package com.hyt.it.ogt.ksmonitor.statistics.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 朱振宇
 * @since 2022-12-15
 */
@Data
@Accessors(chain = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "视频监考数据统计")
public class MonitorStatisticsVO implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonIgnore
    private String id;

    @ApiModelProperty(value = "考试ID")
    private String examId;

    @ApiModelProperty(value = "虚拟考场ID")
    @JsonIgnore
    private String roomId;

    @ApiModelProperty(value = "统计类型（1-应考人数 2-登录人数 3-开考人数 4-交卷人数 5-视频标记人次（一名考生标记多次算多次） 6-确定违纪人数 7-疑似违纪人数 8-预警人次（1名考生预警多次算多次） 9-举手人次（1名考生举手多次算多次）")
    private Integer statisticsType;

    @ApiModelProperty(value = "统计类型描述")
    private String statisticsTypeDesc;

    @ApiModelProperty(value = "创建时间")
    @JsonIgnore
    private LocalDateTime createDate;

    @ApiModelProperty(value = "统计人数/次数")
    private Long num;

    @ApiModelProperty(value = "更新时间")
    @JsonIgnore
    private LocalDateTime updateDate;


}
